package com.hzit.loan.pay.config;

import lombok.Data;
import org.springframework.context.annotation.Configuration;

@Data
@Configuration
public class PayConfig {

    //从springcloud配置中心读取
    private String wechatAppId = "";

    //从springcloud配置中心读取
    private String wechatMchId = "";
    private String alipayAppId = "2016101200667654";

    private String alipaySellerEmail = "xydskv8413@sandbox.com";

    private String aliapyPubKey = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAnzJnbTT7sBQJTZvp3gGztei1V2eONrrbhxuPHojkAFTQzGE7nsWL2/TvVbOJihCq8JQtU9gSXBedNePetNLz4R7eMcZztTV9M9kxxwB5TKxjbI3l9DFDj3Q9sOUq8F1Afy8XiBfYdqvv+Haz4AWDdo6EljvXY6amrXbyBralIyXC/7exOqLs17/gx4DInfdf8ophOFbRSYbQCcRbDyxPdqT7mUY9ozfmoWaj/acjbH2gGGY26ptF9bDtkrPYLPgeIUNqYU1LsWgqqDxhL5eDYIGGvPMr5aFq9s29BjEAWdoDDAnUt8R0azhc1A6I1ONVspQToxPAMMVaYAirb1EXrQIDAQAB";


    private String repayCallBackUrl = "http://127.0.0.1:8822/payment/callBack";

    private String notifyUrl = "http://127.0.0.1:8822/payment/callBack";


    private String privateKey = "";

    private int  maxRunfundDay = 30;


}

